package com.hzeport.bgs22emduty.outbound.db;

import com.hzeport.bgs22emduty.entity.BaseCustomPhone;
import com.hzeport.bgs22emduty.outbound.BaseCustomPhoneRepositoy;
import com.hzeport.bgs22emduty.outbound.db.mapper.BaseCustomPhoneMapper;
import com.hzeport.bgs22emduty.common.base.BaseRepositoryImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

@Service
@Slf4j
public class BaseCustomPhoneRepositoyImpl extends BaseRepositoryImpl<BaseCustomPhoneMapper, BaseCustomPhone> implements BaseCustomPhoneRepositoy {

    @Override
    public BaseCustomPhone queryCurRecord(String customsId, String sType, LocalDateTime curTime, String settingMode) {
        return mapper.queryCurRecord(customsId, sType, curTime, settingMode);
    }

    @Override
    public List<BaseCustomPhone> queryCurRecords(String sType, LocalDateTime curTime, String settingMode) {
        return mapper.queryCurRecords(sType, curTime, settingMode);
    }
}

